
#define IUE_CURL_PERFORM_ERROR                  1
#define IUE_CURL_NOT_INITIALIZED                2
#define IUE_CURL_FORM_ADD_ERROR                 3
#define IUE_UNKNOWN_POST_METHOD                 4
#define IUE_FILE_NOT_FOUND                      5
#define IUE_MALLOC_FAILED                       6
#define IUE_XML_DOC_ERROR                       7
#define IUE_FILE_READ_ERR                       8
#define IUE_UNKNOWN_RESPONSE_STATUS             9

#define IU_METHOD_HTTP                          1
#define IU_METHOD_FILE                          2

int imgurPostImage(unsigned long ulMethod,
                                     const char *uri,
                                     char *iUri,
                                     char *dUri);

